// components/my-forum-item/my-forum-item.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    article:{
      type:Object,
      value:[]
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    jumpToDetail(){
      let article = JSON.stringify(this.data.article);
      wx.navigateTo({
        url: '../../pages/thesisDetail/thesisDetail?article=' + encodeURIComponent(article),
        success: (result) => {},
        fail: (res) => {},
        complete: (res) => {},
      })
    }
  }
})
